﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace WorldEvolution
{
    /// <summary>
    /// 角色对象
    /// </summary>
    public class Actor : Entity
    {
        public string Name { get; set; }
        public ActorDetailData DetailData { get { return mDetailData; } }

        Actor()
        {
            mPersonality = AddComponet<PersonalityComponent>();
            mMemory = AddComponet<MemoryComponent>();
            mGenius = AddComponet<GeniusComponent>();
            mGuild = AddComponet<GuildComponent>();
            mClan = AddComponet<ClanComponent>();
            mAI = AddComponet<AIComponent>();
            mRace = AddComponet<RaceComponent>();

        }

        protected ActorDetailData mDetailData = new ActorDetailData();

        // Entity 有 位置

        private PersonalityComponent mPersonality;      //性格    受记忆影响
        private MemoryComponent mMemory;                //记忆
        private GeniusComponent mGenius;                //天赋
        private RaceComponent mRace;                    //种族    人 妖 精 兽 仙，结合等
        private AttriComponent mAttri;                  //人物属性

        private GuildComponent mGuild;                  //门派
        private ClanComponent mClan;                    //家族 血缘关系

        private AIComponent mAI;                        //思考
    }
}
